package com.bsoft.gol.hcs.visitrecord.bean.vo;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlRootElement;
import java.util.List;

/**
 * 用药信息xml
 */
@XmlRootElement(name = "Data")
public class PrescriptionRecordDataVo {
    private List<PrescriptionRecordVo> records;

    @XmlElementWrapper(name = "Drugs")
    @XmlElement(name = "Drug")
    public List<PrescriptionRecordVo> getRecords() {
        return records;
    }

    public void setRecords(List<PrescriptionRecordVo> records) {
        this.records = records;
    }
    private Long total;

    @XmlElement(name = "Total")
    public Long getTotal() {
        return total;
    }

    public void setTotal(Long total) {
        this.total = total;
    }
}